package com.PGD.model.factories
{
	import com.PGD.model.vos.AnswerSet;
	
	import mx.collections.ArrayCollection;
	
	public class AnswerSetFactory
	{
		public function AnswerSetFactory()
		{
		}
		
		public function makeNew(type:String, questionSlideID:String):AnswerSet
		{
			var ansSet:AnswerSet = new AnswerSet();
			ansSet.questionSlideID = questionSlideID;
			ansSet.answers = new ArrayCollection;
			ansSet.setType = type;
			
			
			ansSet.reset();
			ansSet.isNew = true;
			return ansSet;
		}

	}
}